<div id="wrapper"> 
  
  <!-- ********************** --> 
  <!--      H E A D E R       --> 
  <!-- ********************** --> 
  <div id="header" class="container_12">
    <div class="grid_12">
    	
   	<?php if ($page['header']): ?>
      <?php print render($page['header']); ?>
    <?php endif; ?>
    
    <div id="logo">
      <?php if ($logo): ?>
        <a href="<?php print $front_page; ?>"><img  width="30%" src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /></a>
      <?php else: ?>
        <?php if ($site_name): ?>
          <h1 id="logo-text"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
        <?php endif; ?>
      <?php endif; ?>
      <?php if ($site_slogan): ?>
        <p id="slogan" class="slogan"><?php print $site_slogan; ?></p>
      <?php endif; ?>

    </div>
    
    <div class="clear"></div>


    
      <div id="system_navigation" class="s_nav">
	    <?php if ($main_menu): ?>
	        <?php print theme('links__system_main_menu', array(
	          'links' => $main_menu,
	          'attributes' => array(
	            'id' => 'main-menu-links',
	            'class' => array('links', 'clearfix', 's_list_1'),
	          ),
	          'heading' => array(
	            'text' => t('Main menu'),
	            'level' => 'h2',
	            'class' => array('element-invisible'),
	          ),
	        )); ?>
	      <?php endif; ?>
	      
        <!--ul class="s_list_1 clearfix">
          <li><a href="<?php print base_path() ?>">Trang chủ</a></li>
          <li><a href="login.html">Giới thiệu</a></li>
          <li><a href="cart.html">Làm đẹp</a></li>
          <li><a href="static.html">Lối sống</a></li>
          <li><a href="contacts.html">Liên hệ</a></li>
        </ul-->
      </div>
      

      <div id="categories" class="s_nav">
      </div>
      

      
    </div>
  </div>
  <!-- end of header --> 
  

  <!-- ********************** --> 
  <!--     I N T R O          -->
  <!-- ********************** --> 

  <div id="intro">
    <div id="intro_wrap">
   	<?php if ($page['intro_bar']): ?>
      <?php print render($page['intro_bar']); ?>
    <?php endif; ?>


      <!--div class="container_12">
        <div id="breadcrumbs" class="grid_12">
          <a href="index.html">Home</a>
          &gt;
          <a href="">Clothing</a>
        </div>
        <h1>Clothing</h1>
      </div-->
    </div>
  </div>
  <!-- end of intro -->

  
  <!-- ********************** --> 
  <!--      C O N T E N T     -->
  <!-- ********************** --> 
  <div id="content" class="container_16">
  	
  	 <div id="listing_options">
        <!--div id="listing_sort" class="s_switcher">
          <span class="s_selected">Default</span>
          <ul class="s_options" style="display: none;">
            <li><a href="">Name A - Z</a></li>
            <li><a href="">Name Z - A</a></li>
          </ul>
        </div>
        <div id="view_mode" class="s_nav">
          <ul class="clearfix">
            <li id="view_grid" class="s_selected"><a href="listing_4.html"><span class="s_icon"></span>Grid</a></li>
            <li id="view_list"><a href="listing_3.html"><span class="s_icon"></span>List</a></li>
          </ul>
        </div-->
      </div>
    
    <div id="category" class="grid_12">
      <?php 
      $shoppa_mission = theme_get_setting('shoppa_mission');
      if ($shoppa_mission && $is_front): ?>
        <div id="mission"><?php print render($shoppa_mission); ?></div>
    <?php endif; ?>
    <?php if ($page['highlighted']): ?>
      <div id="highlighted"><?php print render($page['highlighted']); ?></div>
    <?php endif; ?>
    
    <div id="content">
      <?php print render($title_prefix); ?>
      <?php if ($title): ?>
        <h1 class="node-title page-title"><?php print $title; ?></h1>
      <?php endif; ?>
      <?php print render($title_suffix); ?>
      <?php if ($tabs): ?>
        <div class="tabs"><?php print render($tabs); ?></div>
      <?php endif; ?>
      <?php if ($show_messages): ?>
        <?php print $messages; ?>
      <?php endif; ?>
      <?php print render($page['help']); ?>
      <?php if ($action_links): ?>
        <ul class="action-links">
          <?php print render($action_links); ?>
        </ul>
      <?php endif; ?>
      
      <?php print render($page['content']); ?>
      <?php print $feed_icons; ?>
    </div>
      <div class="clear"></div>
      <!--div class="pagination">
        <div class="links"> <b>1</b> <a href="">2</a> <a href="">&gt;</a> <a href="">&gt;|</a> </div>
      </div-->
      
		</div>
    
    <div id="right_col" class="grid_4">
	    <div id="sidebar">
	      <?php if ($page['sidebar_first']): ?>
	        <?php print render($page['sidebar_first']); ?>
	      <?php endif; ?>
	    </div>
      
    </div>
    
  </div>
  <!-- end of content -->
  
  
  <!-- ********************** --> 
  <!--   S H O P   I N F O    --> 
  <!-- ********************** --> 
  <div id="shop_info">
    <div id="shop_info_wrap">
      <div class="container_12">
	      <?php if ($page['info']): ?>
	        <?php print render($page['info']); ?>
	      <?php endif; ?>

        <div class="clear"></div>
      </div>
    </div>
  </div>
   <div class="clear"></div>
  <!-- end of shop info --> 
  
  
  
  <!-- ********************** --> 
  <!--      F O O T E R       --> 
  <!-- ********************** --> 
  <div id="footer" class="container_12">
	  <div id="footer-wrap">
	  <?php if ($page['footer']): ?>
	    <?php print render($page['footer']); ?>
	  <?php endif; ?>    
	  <div id="payments" class="right clearfix">
	      <img src="<?php print base_path().path_to_theme()?>/images/payments/visa_straight_32px.png" alt="" />
	    </div>
	    <p id="copy">&copy; Copyright 2013. Powered by <a class="blue" href="">Drupal</a>.<br /> <a class="s_main_color" href="">Shoppica theme</a> made by <a href="http://www.themeburn.com">ThemeBurn.com</a></p>
	  </div>
  
  </div>
  <!-- end of FOOTER --> 
</div>
